package ooday04homework;

public class Fish extends Animal implements Swim{
    Fish(){

    }
    Fish(String name,int age,String color){
        super(name, age, color);
    }

    void eat(){
        System.out.println("名叫"+name+"，今年"+age+"岁"+color+"色的小鱼正在吃虾米.......");
    }

    public void swim(){
        System.out.println("名叫"+name+"，今年"+age+"岁"+color+"色的小鱼正在吃游泳.......");
    }

}
